#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int age = 0;
	scanf("%d", &age);
	if (age >= 18)
		if (age > 60)
			printf("老年\n");
		else
			printf("青年\n");
	else
		printf("未成年\n");
	return 0;
}